package net.diaowen.dwsurvey.service.impl;

import net.diaowen.common.service.BaseServiceImpl;
import net.diaowen.dwsurvey.dao.TorgDao;
import net.diaowen.dwsurvey.dao.TreportDao;
import net.diaowen.dwsurvey.service.TreportManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TreportManagerImpl extends BaseServiceImpl implements TreportManager {
    @Autowired
    private TreportDao treportDao;

    @Override
    public void setBaseDao() {
        this.baseDao=treportDao;
    }

    @Override
    public String findtablevalue(String reportdescid, String civilyear, String orgid) throws Exception{
        return treportDao.findtablevalue(reportdescid,civilyear,orgid);
    }

    @Override
    public void updatetablevalue(String value,String reportdescid, String civilyear, String orgid) throws Exception {
        treportDao.updatetablevalue(value,reportdescid, civilyear, orgid);
    }
}
